<!--
 * @Description: 新闻列表
 * @Author: zhanyinjia
 * @Date: 2022-09-08 10:43:42
 * @LastEditors: zhanyinjia
 * @LastEditTime: 2023-08-02 16:43:06
-->
<template>
  <div>
    <h4>新闻列表</h4>
    <div class="news" @click="view(1101)">新闻1</div>
    <div class="news" @click="view(1102)">新闻2</div>
    <div class="news" @click="view(1103)">新闻3</div>
  </div>
</template>

<script>
export default {
  name: 'KeepAlive',
  data() {
    return {}
  },
  methods: {
    view(id) {
      this.$router.push(`/common/keepAlive/${id}`)
    }
  }
}
</script>

<style lang="less" scoped>
.news {
  cursor: pointer;
  color: #42b983;
  padding: 10px;
}
</style>